package com.linkage.lcims.base.po.enterprise;

import java.io.Serializable;
import java.util.Date;
import org.apache.commons.lang.builder.ToStringBuilder;


/** 
 *        @hibernate.class
 *         table="B_VPDN"
 *     
*/
@SuppressWarnings("serial")
public class BVpdn implements Serializable {

    /** identifier field */
    private String realm;

    /** persistent field */
    private String vpdnname;

    /** nullable persistent field */
    private Integer authentype;

    /** nullable persistent field */
    private String domainpassword;

    /** nullable persistent field */
    private String areano;

    /** nullable persistent field */
    private String accphone;

    /** nullable persistent field */
    private Integer dgroupid;

    /** nullable persistent field */
    private Integer bgroupid;

    /** nullable persistent field */
    private Integer tradeId;

    /** nullable persistent field */
    private String linkman;

    /** nullable persistent field */
    private String linkphone;

    /** nullable persistent field */
    private String address;

    /** nullable persistent field */
    private String email;

    /** nullable persistent field */
    private Date createdate;

    /** nullable persistent field */
    private String dialupgroupids;

    /** nullable persistent field */
    private String broadbandgroupids;

    /** nullable persistent field */
    private Integer fullareaflag;

    /** nullable persistent field */
    private String maintainer;

    /** nullable persistent field */
    private String payer;

    /** nullable persistent field */
    private String description;

    /** full constructor */
    public BVpdn(String realm, String vpdnname, Integer authentype, String domainpassword, String areano, String accphone, Integer dgroupid, Integer bgroupid, Integer tradeId, String linkman, String linkphone, String address, String email, Date createdate, String dialupgroupids, String broadbandgroupids, Integer fullareaflag, String maintainer, String payer, String description) {
        this.realm = realm;
        this.vpdnname = vpdnname;
        this.authentype = authentype;
        this.domainpassword = domainpassword;
        this.areano = areano;
        this.accphone = accphone;
        this.dgroupid = dgroupid;
        this.bgroupid = bgroupid;
        this.tradeId = tradeId;
        this.linkman = linkman;
        this.linkphone = linkphone;
        this.address = address;
        this.email = email;
        this.createdate = createdate;
        this.dialupgroupids = dialupgroupids;
        this.broadbandgroupids = broadbandgroupids;
        this.fullareaflag = fullareaflag;
        this.maintainer = maintainer;
        this.payer = payer;
        this.description = description;
    }

    /** default constructor */
    public BVpdn() {
    }

    /** minimal constructor */
    public BVpdn(String realm, String vpdnname) {
        this.realm = realm;
        this.vpdnname = vpdnname;
    }

    /** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.String"
     *             column="realm"
     *         
     */
    public String getRealm() {
		return realm;
	}

	public void setRealm(String realm) {
		this.realm = realm;
	}

    /** 
     *            @hibernate.property
     *             column="vpdnname"
     *             length="40"
     *             not-null="true"
     *         
     */
    public String getVpdnname() {
        return this.vpdnname;
    }

    public void setVpdnname(String vpdnname) {
        this.vpdnname = vpdnname;
    }

    /** 
     *            @hibernate.property
     *             column="authentype"
     *             length="10"
     *         
     */
    public Integer getAuthentype() {
        return this.authentype;
    }

    public void setAuthentype(Integer authentype) {
        this.authentype = authentype;
    }

    /** 
     *            @hibernate.property
     *             column="domainpassword"
     *             length="20"
     *         
     */
    public String getDomainpassword() {
        return this.domainpassword;
    }

    public void setDomainpassword(String domainpassword) {
        this.domainpassword = domainpassword;
    }

    /** 
     *            @hibernate.property
     *             column="areano"
     *             length="20"
     *         
     */
    public String getAreano() {
        return this.areano;
    }

    public void setAreano(String areano) {
        this.areano = areano;
    }

    /** 
     *            @hibernate.property
     *             column="accphone"
     *             length="20"
     *         
     */
    public String getAccphone() {
        return this.accphone;
    }

    public void setAccphone(String accphone) {
        this.accphone = accphone;
    }

    /** 
     *            @hibernate.property
     *             column="dgroupid"
     *             length="10"
     *         
     */
    public Integer getDgroupid() {
        return this.dgroupid;
    }

    public void setDgroupid(Integer dgroupid) {
        this.dgroupid = dgroupid;
    }

    /** 
     *            @hibernate.property
     *             column="bgroupid"
     *             length="10"
     *         
     */
    public Integer getBgroupid() {
        return this.bgroupid;
    }

    public void setBgroupid(Integer bgroupid) {
        this.bgroupid = bgroupid;
    }

    /** 
     *            @hibernate.property
     *             column="trade_id"
     *             length="10"
     *         
     */
    public Integer getTradeId() {
        return this.tradeId;
    }

    public void setTradeId(Integer tradeId) {
        this.tradeId = tradeId;
    }

    /** 
     *            @hibernate.property
     *             column="linkman"
     *             length="15"
     *         
     */
    public String getLinkman() {
        return this.linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    /** 
     *            @hibernate.property
     *             column="linkphone"
     *             length="20"
     *         
     */
    public String getLinkphone() {
        return this.linkphone;
    }

    public void setLinkphone(String linkphone) {
        this.linkphone = linkphone;
    }

    /** 
     *            @hibernate.property
     *             column="address"
     *             length="64"
     *         
     */
    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /** 
     *            @hibernate.property
     *             column="email"
     *             length="40"
     *         
     */
    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    /** 
     *            @hibernate.property
     *             column="createdate"
     *             length="23"
     *         
     */
    public Date getCreatedate() {
        return this.createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    /** 
     *            @hibernate.property
     *             column="dialupgroupids"
     *             length="255"
     *         
     */
    public String getDialupgroupids() {
        return this.dialupgroupids;
    }

    public void setDialupgroupids(String dialupgroupids) {
        this.dialupgroupids = dialupgroupids;
    }

    /** 
     *            @hibernate.property
     *             column="broadbandgroupids"
     *             length="255"
     *         
     */
    public String getBroadbandgroupids() {
        return this.broadbandgroupids;
    }

    public void setBroadbandgroupids(String broadbandgroupids) {
        this.broadbandgroupids = broadbandgroupids;
    }

    /** 
     *            @hibernate.property
     *             column="fullareaflag"
     *             length="10"
     *         
     */
    public Integer getFullareaflag() {
        return this.fullareaflag;
    }

    public void setFullareaflag(Integer fullareaflag) {
        this.fullareaflag = fullareaflag;
    }

    /** 
     *            @hibernate.property
     *             column="maintainer"
     *             length="40"
     *         
     */
    public String getMaintainer() {
        return this.maintainer;
    }

    public void setMaintainer(String maintainer) {
        this.maintainer = maintainer;
    }

    /** 
     *            @hibernate.property
     *             column="payer"
     *             length="40"
     *         
     */
    public String getPayer() {
        return this.payer;
    }

    public void setPayer(String payer) {
        this.payer = payer;
    }

    /** 
     *            @hibernate.property
     *             column="description"
     *             length="128"
     *         
     */
    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("realm", getRealm())
            .toString();
    }


}
